package com.viviet.mobileservices.common;

public abstract interface Constants {
	public static final int OPERATION_ERROR = 1;
	public static final int OPERATION_SUCCESS = 0;
	//Common error message
	public static final String ACCESS_DENIED = "CM002";
	public static final String RESOURCE_NOT_FOUND_404 = "CM003";
	public static final String SYSTEM_ERROR = "CM004";
	public static final String SYSTEM_MAINTAINING = "CM005";
	public static final String INVALID_REQUEST = "CM006";
	public static final String INVALID_PASSWORD = "CM007";
	public static final String PASSWORD_CORRECT = "CM008";
	public static final String INCORRECT_USERNAME_PASSWORD = "CM009";
	public static final String TEMPORARY_LOCK = "CM010";
	public static final String NON_EXIST_ACCOUNT = "CM011";
	
	// login
	public static final String LOGINED_SUCCESS = "LG001";
	public static final String DUPLICATE_LOGIN_ACCOUNT = "LG005";
	// get balance
	public static final String GET_BALANCE_SUCCESS = "GB001";
	public static final String GET_BALANCE_FAILED = "GB002";
	// change password 
	public static final String CHANGE_PASSWORD_SUCCESS = "CP001";
	public static final String OLD_PASSWORD_INVALID = "CP002";
	public static final String NEW_OLD_PASSWORD_THESAME = "CP003";
	public static final String NEW_PASSWORD_NOT_ENOUGH_LENG = "CP004";
	
	public static final String GET_TRANSACTIONS_INFO = "GT001";
	
	// transfer money
	public static final String TRAN_SUCCESS = "TM001";
	public static final String TRAN_DESTINATION_ACCOUNT_IS_LOCK = "TM002";;
	public static final String TRAN_DESTINATION_ACCOUNT_THE_SAME_WITH_SENDER = "TM003";;
	public static final String TRAN_DEBIT_CREDIT_IS_NOT_CORRECT = "TM004";;
	public static final String TRAN_LESS_THAN_MIN_AMOUNT_PER_TRANSACTION = "TM005";;
	public static final String TRAN_GREAT_THAN_MAX_AMOUNT_PER_TRANSACTION = "TM006";;
	public static final String TRAN_GREAT_THAN_MAX_TRANSACTION_PER_DAY = "TM007";;
	public static final String TRAN_NOT_ENOUGH_MONEY = "TM008";;
	public static final String TRAN_FAILED = "TM009";;
	public static final String TRAN_DESTINATION_ACCOUNT_IS_INVALID = "TM010";
	public static final Integer TRAN_STATUS_PROCCESSING = 0;
	public static final Integer TRAN_STATUS_COMPLETE = 1;
	
	// QR code
	
	public static final String QR_CREATE_SUCCESS = "QRC001";
	public static final String QR_CREATE_FAILED = "QRC002";
	public static final String QR_GET_SUCCESS = "QRG001";
	public static final String QR_GET_FAILED = "QRG002";
	
	// register
	
	public static final String REGISTER_SUCCESS = "RE001";
	public static final String REGISTER_FAILED = "RE002";

}